<template>
  <div>
    <div class="header"></div>
    <div class="img"><img src="@/assets/img/404.png" alt="" /></div>
    <a href="">返回首页</a>
  </div>
</template>

<script>
export default {
  name: "404View",
};
</script>

<style lang="less" scoped>
body,
div {
  background: #efefef;
  height: 100vh;
}
.header {
  width: 10rem;
  height: 50px;
  background: url("@/assets/img/404header.png");
}
.img {
  text-align: center;
}
a {
  font-size: 18px;
  position: absolute;
  top: 380px;
  right: 160px;
}
</style>